* {
  margin: 0;
  padding: 0;
}
#carousel {
  width: 200px;
  height: 100px;
  margin: 40px auto;
  overflow: hidden;
  border: 1px solid red;
  position: relative;
}
#carousel ul {
  height: 100%;
  width: 1200px;
  position: absolute;
  left:0;
  transition-property: left;
  transition-delay: 0s;
  transition-duration: 1s;
}
#carousel li {
  display: inline-block;
  height: inherit;
  width: 200px;
}
